package com.trip.wechat.platform.dao;

import com.trip.wechat.platform.domain.UserPO;

import java.util.List;
import java.util.Optional;

/**
 * 功能说明: <br>
 * 系统说明: <br>
 * 模块说明: <br>
 * 功能描述: <br>
 */
public interface UserDao {

    void merge(UserPO userPO);

    List<UserPO> selectByPublicKey(String publicKey);

    Optional<UserPO> selectUserInfoByOpenid(String publicKey, String openid);
}
